<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script charset="utf-8" src="{hd:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/kindeditor.js"></script>
	<script charset="utf-8" src="{hd:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/lang/zh_CN.js"></script>
	<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
</script>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data">
	<table width="100%">
		<tr>
			<td class="td1">标题:</td>
			<td><input type="text"  name="title"></td>
		</tr>
		<tr>
			<td class="td1">栏目:</td>
			<td>
				<select name="cid" id="">
				{hd:section loop=$cate name=c}
					<option value="{hd:$cate[c].cid}">
					{hd:$cate[c].catname}
					</option>
				{hd:/section}
				</select>
			</td>
		</tr>
		<tr>
			<td class="td1">缩略图:</td>
			<td>
				<input type="file" name="thumb">
			</td>
		</tr>
		<tr>
			<td class="td1">正文:</td>
			<td>
				<textarea id="editor_id" name="content" style="width:100%;height:300px;">
				</textarea>
			</td>
		</tr>
		<tr>
			<td class="td1">点击数:</td>
			<td><input type="text" name="click"></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="发布" class="fabu"></td>
		</tr>
	</table>
	<style>
		table{
			margin: 0px auto;
			background:url({hd:$smarty.const.__VIEW__}/global/images/default/headerbg.png);
			border-radius: 5px;
			box-shadow: 2px 2px 2px #3D4E67;
			color: #fff;
		}
		.td1{
			text-align: center;
		}
		.fabu{
			width: 50px;
			height: 30px;
			color: #485B79;
			cursor: pointer;
			float: right;
			margin-right: 20px;
			margin-bottom: 10px;
		}
	</style>
</form>
</body>
</html>